package com.simple.weather.demo.service;

import com.simple.weather.demo.vo.WeatherResponseVO;

public interface WeatherDataService {
    // 根据城市id查询天气数据
    WeatherResponseVO getDataByCityId(String cityId);

    // 根据城市名称查询天气数据
    WeatherResponseVO getDataByCityName(String cityName);

    //根据城市id来同步天气
    void syncDataByCityId(String cityId);
}

